<template>
    <el-input
        v-model="modelValue"
        placeholder="搜索角色名称"
        clearable
        style="width: 200px"
        @input="$emit('update:modelValue', modelValue)"
    />
</template>
<script setup>
defineProps({
    modelValue: String,
});
defineEmits(["update:modelValue"]);
</script>